package com.qf.mapper;

import com.qf.entity.SysOrder;
import com.qf.entity.SysOrderDTO;
import com.qf.entity.SysOrderVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysOrderMapper {
    boolean SysOrderDelete(int id);

    List<SysOrderVO> queryAllSysOrderPage(SysOrderDTO sysOrderDTO);

    boolean SysOrderDeleteAll(@Param("ids") List<Integer> ids);

    boolean SysOrderUpdate(SysOrder sysOrder);

    boolean SysOrderAdd(SysOrder sysOrder);

    boolean updateImgByOrderId(@Param("orderId") String orderId, @Param("imgUrl") String relativePath);

    boolean addImgByOrderId(@Param("orderId") String orderId, @Param("imgUrl") String relativePath);

}
